import request from '@/utils/request'
import type {MenuResponse} from './types/menu'

// 查询所有菜单
export async function getMenus(): Promise<MenuResponse> {
    return await request.get<MenuResponse, MenuResponse>("/account/menu")
}
